<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body  class="layui-layout-body">
<!--新增弹窗-->
<div class="site-text" style="margin: 5%;" id="window"  target="test123">
    <form class="layui-form" id="book" method="post" lay-filter="example">
        <div class="layui-form-item">
            <label class="layui-form-label">客户名称</label>
            <div class="layui-input-block">
                <input type="text" id="p_name" name="p_name" lay-verify="title" autocomplete="off" placeholder="客户名称" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系方式</label>
            <div class="layui-input-block">
                <input type="text" id="p_remark" name="p_remark" lay-verify="title" autocomplete="off" placeholder="联系方式" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户地址</label>
            <div class="layui-input-block">
                <input type="text" id="p_is" name="p_is" lay-verify="title" autocomplete="off" placeholder="客户地址" class="layui-input">
            </div>
        </div>
        <form class="layui-form" action="" lay-filter="departmentForm">
            <div class="layui-form-item" style="margin-top:10px" >
                <div class="layui-inline">
                    <label class="layui-form-label">部门名称</label>
                    <div class="layui-input-inline">
                        <select name="bumen" lay-verify="required" lay-search>
                            <option value="0">部门名称</option>
                            <option value="1">北京</option>
                            <option value="2">上海</option>
                            <option value="3">广州</option>
                            <option value="4">深圳</option>
                            <option value="5">杭州</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">员工名称</label>
                    <div class="layui-input-inline">
                        <select name="yuangong" lay-verify="required" lay-search>
                            <option value="0">员工名称</option>
                            <option value="1">北京</option>
                            <option value="2">上海</option>
                            <option value="3">广州</option>
                            <option value="4">深圳</option>
                            <option value="5">杭州</option>
                        </select>
                    </div>
                </div>
            </div>
    </form>
</div>
</body>
<script src="../../layui/layui.js"></script>
<script>
    function getValue(){
        var p_name = document.getElementById("p_name").value;
        var p_remark = document.getElementById("p_remark").value;
        var p_is = document.getElementById("p_is").value;

        var data = {"p_name":p_name,"p_remark":p_remark,"p_is":p_is}
        return data
    }

</script>
</html>